/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-03-25
 * Time: 17:55
 */
public class Demo2 {
    public static void main(String[] args) throws InterruptedException {
        Thread thread=new Thread(()->{
            System.out.println("hello thread");
        },"haha");
        thread.start();

      Thread thread1=new Thread(()->{
          System.out.println("hello thread1");
      });
      thread1.start();

    }
}
